package net.cloudcodex.client.character.view.panel;

import java.util.Map;
import java.util.TreeMap;

import net.cloudcodex.client.campaign.view.CampaignsView.Message;
import net.cloudcodex.client.character.view.CharacterInCampaignView;
import net.cloudcodex.client.widgets.CharacterAvatar;

import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;

public class CharactersInCampaignPanel extends FlowPanel  {

	private Message message;
	private HorizontalPanel buttonPanel = new HorizontalPanel();
	private Button addNPCButton = new Button();
	private Button addPCButton = new Button();
	
	public CharactersInCampaignPanel(Message message) {
		this.message = message;
		this.addStyleName("charactersInCampaignPanel");
//		this.add(titleMsg);
		addNPCButton.setText(message.getAddNPCButton());
		addPCButton.setText(message.getAddPCButton());
		buttonPanel.add(addNPCButton);
		buttonPanel.add(addPCButton);
		this.add(buttonPanel);
		

	}

	public HasClickHandlers getAddNPCButton(){
		return addNPCButton;
		
	}
	public HasClickHandlers getAddPCButton(){
		return addPCButton;
		
	}
	
	
	public void addCharacterView(CharacterInCampaignView view) {
		this.add(view);
	}

}
